package com.yantong.service;

import com.yantong.pojo.CentreIndustry;
import com.yantong.utils.PageUtils;

/**
 *  商户行业Service
 *
 * @author huangshuai-728982210@qq.com
 * @date 2021/1/18 9:36
 */

public interface CentreIndustryService {

	/**
	 * 保存商家门店终端
	 * @param centreIndustry
	 * @return
	 */
	int saveCentreIndustry(CentreIndustry centreIndustry);

	/**
	 * 商户费率列表
	 * @param offset
	 * @param limit
	 * @return
	 */
	PageUtils<CentreIndustry> listCentreIndustry(CentreIndustry centreIndustry, int offset, int limit);

	/**
	 * 更新商户费率
	 * @param centreIndustry
	 * @return
	 */
	int updateCentreIndustry(CentreIndustry centreIndustry);

	/**
	 * 商户费率详情
	 * @param id
	 * @return
	 */
	CentreIndustry getCentreIndustryById(Long id);
}
